{{#each sections}}
  <a href="#section-{{id}}" data-id="{{id}}">{{#if title}}{{title}}{{^}}片段{{/if}}</a>
{{/each}}